<?php 
include_once('php/ae_config.php');
include"header.inc.php";
?>
</td>
  </tr>  
  <tr align="center">
    <td colspan="2">
		<TABLE id="Table6" cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">													
			<TR>
				<TD width="200" valign="top" class="left_bg" align="right" ><br><?php include("left.inc.php");?></td>
				<td height="10" valign="top" bgcolor="#E6ECF7">
				
				<table width="100%"  border="0" cellspacing="0" cellpadding="0">
    <tr>
    
    
    <td width="100%" valign="top" align="center">
			<table width="100%"  border="0" cellpadding="0" cellspacing="1" >
          	<tr>
            <td  align="left" background="images/heading_bg.gif" bgcolor="#FFFFFF" class="h1">
					<table   border="0" cellspacing="0" cellpadding="0" align="left" width="100%">
              		<tr >
		           	<td height="42" background="images/bg3.gif" width="53"   class="h1" align="right"><img src="images/cp_icon.gif" width="25" height="25" hspace="5"></td>
		           	<td height="42"  background="images/bg3.gif" width="738" align="left" class="h1">Background Manager</td>
                	
              		</tr>
            		</table>
					
			</td>
          	</tr>
          	<tr>
            <td height="300" align="center" valign="top" class="mainBoxBg">
			<br>
			<?php displaySessMesg(); ?>
			<table width="526" border="0" cellpadding="3" cellspacing="1" class="tblBg">
			<form name="form_p" action="" method="post" enctype="multipart/form-data" onSubmit="return admin_form(this)">
              <tr>
                <td  class="header_row">&nbsp;Background  Detail </td>
                <td align="right" class="header_row"><span class="gray_txt">Required Fields <span class="redtxt">*</span></span></td>
                </tr>
              <tr class="evenRow">
                <td width="36%" height="25" align="right" class="main_txt">Background Image  :<span class="redtxt">*</span> </td>
                <td width="64%"><?php 
				  if($varValue){
				  	echo '<img src="'.$SITE_PATH.'/images/'.$varValue.'" width="133" />
';
				  }
				  ?>
				  <input type="file" name="varValue" class="inpr" />
				  <input type="hidden" name="tmpName" value="<?php echo $varValue;?>" /></td>
              </tr>
              
              <tr class="oddRow">
                <td height="25" align="right">&nbsp;</td>
                <td><input name="Submit" type="submit" class="buttons" value="Submit"></td>
              </tr>
			  </form>
            </table>
			<br></td>
          	</tr>
        	</table>
	</td>
    </tr>
    </table></td>
			</TR>
	  </TABLE></td>
  </tr>
   

  <tr>
<td height="1" colspan="2"><?php include ("footer.inc.php");?></td>
</tr> 
</table>
</body>
</html>